.PHONY:all
all:proc a.out

proc:test.c
	@gcc -o $@ $^
a.out:test.cpp
	@g++ -o $@ $^
.PHONY:clean
clean:
	@rm -f proc a.out
